package com.medical.manage.domain;

import com.medical.common.core.annotation.Excel;
import com.medical.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

public class MedicalPatient extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 患者id */
    private Long patientId;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String patientName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String patientPhone;

    /** 患者性别 */
    @Excel(name = "患者性别")
    private String patientSex;

    /** 患者年龄 */
    @Excel(name = "患者年龄")
    private Long patientAge;

    /** 患者身高【cm】 */
    @Excel(name = "患者身高【cm】")
    private Long patientHeight;

    /** 患者体重【kg】 */
    @Excel(name = "患者体重【kg】")
    private Long patientWeight;

    /** 肾功能【0-良好 1-差】 */
    @Excel(name = "肾功能【0-良好 1-差】")
    private Long renalFunction;

    /** 生育状态【0-未育 1-已育】 */
    @Excel(name = "生育状态【0-未育 1-已育】")
    private Long fertulityStatus;

    /** 疾病史 */
    @Excel(name = "疾病史")
    private String diseasesHistory;

    /** 肝功能【0-正常 1-异常】 */
    @Excel(name = "肝功能【0-正常 1-异常】")
    private Long liverFunction;

    /** 问诊次数 */
    @Excel(name = "问诊次数")
    private Long inquiryCount;

    /** 支付总额 */
    @Excel(name = "支付总额")
    private BigDecimal sumPayable;

    public void setPatientId(Long patientId)
    {
        this.patientId = patientId;
    }

    public Long getPatientId()
    {
        return patientId;
    }
    public void setPatientName(String patientName)
    {
        this.patientName = patientName;
    }

    public String getPatientName()
    {
        return patientName;
    }
    public void setPatientPhone(String patientPhone)
    {
        this.patientPhone = patientPhone;
    }

    public String getPatientPhone()
    {
        return patientPhone;
    }
    public void setPatientSex(String patientSex)
    {
        this.patientSex = patientSex;
    }

    public String getPatientSex()
    {
        return patientSex;
    }
    public void setPatientAge(Long patientAge)
    {
        this.patientAge = patientAge;
    }

    public Long getPatientAge()
    {
        return patientAge;
    }
    public void setPatientHeight(Long patientHeight)
    {
        this.patientHeight = patientHeight;
    }

    public Long getPatientHeight()
    {
        return patientHeight;
    }
    public void setPatientWeight(Long patientWeight)
    {
        this.patientWeight = patientWeight;
    }

    public Long getPatientWeight()
    {
        return patientWeight;
    }
    public void setRenalFunction(Long renalFunction)
    {
        this.renalFunction = renalFunction;
    }

    public Long getRenalFunction()
    {
        return renalFunction;
    }
    public void setFertulityStatus(Long fertulityStatus)
    {
        this.fertulityStatus = fertulityStatus;
    }

    public Long getFertulityStatus()
    {
        return fertulityStatus;
    }
    public void setDiseasesHistory(String diseasesHistory)
    {
        this.diseasesHistory = diseasesHistory;
    }

    public String getDiseasesHistory()
    {
        return diseasesHistory;
    }
    public void setLiverFunction(Long liverFunction)
    {
        this.liverFunction = liverFunction;
    }

    public Long getLiverFunction()
    {
        return liverFunction;
    }
    public void setInquiryCount(Long inquiryCount)
    {
        this.inquiryCount = inquiryCount;
    }

    public Long getInquiryCount()
    {
        return inquiryCount;
    }
    public void setSumPayable(BigDecimal sumPayable)
    {
        this.sumPayable = sumPayable;
    }

    public BigDecimal getSumPayable()
    {
        return sumPayable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("patientId", getPatientId())
                .append("patientName", getPatientName())
                .append("patientPhone", getPatientPhone())
                .append("patientSex", getPatientSex())
                .append("patientAge", getPatientAge())
                .append("patientHeight", getPatientHeight())
                .append("patientWeight", getPatientWeight())
                .append("renalFunction", getRenalFunction())
                .append("fertulityStatus", getFertulityStatus())
                .append("diseasesHistory", getDiseasesHistory())
                .append("liverFunction", getLiverFunction())
                .append("inquiryCount", getInquiryCount())
                .append("sumPayable", getSumPayable())
                .toString();
    }

}
